/*
 * Created by JFormDesigner on Tue Jun 01 18:57:07 BRT 2010
 */

package visualCAD;

import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;

/**
 * @author victor asdasd
 */
public class SphericalHoleBottomWindowView extends JFrame {
	public SphericalHoleBottomWindowView() {
		initComponents();
	}

	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		// Generated using JFormDesigner Evaluation license - victor asdasd
		dialogPane = new JPanel();
		contentPanel = new JPanel();
		panel1 = new JPanel();
		panel2 = new JPanel();
		panel4 = new JPanel();
		label4 = new JLabel();
		textField1 = new JTextField();
		panel3 = new JPanel();
		label1 = new JLabel();
		spinner1 = new JSpinner();
		label2 = new JLabel();
		spinner2 = new JSpinner();
		label3 = new JLabel();
		spinner3 = new JSpinner();
		label5 = new JLabel();
		spinner4 = new JSpinner();
		label6 = new JLabel();
		spinner5 = new JSpinner();
		label7 = new JLabel();
		label8 = new JLabel();
		spinner6 = new JSpinner();
		splitPane1 = new JSplitPane();
		buttonBar = new JPanel();
		button1 = new JButton();
		okButton = new JButton();
		cancelButton = new JButton();

		//======== this ========
		setTitle("Spherical Hole Bottom Condition");
		Container contentPane = getContentPane();
		contentPane.setLayout(new BorderLayout());

		//======== dialogPane ========
		{
			dialogPane.setBorder(new EmptyBorder(12, 12, 12, 12));

			// JFormDesigner evaluation mark
			dialogPane.setBorder(new javax.swing.border.CompoundBorder(
				new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
					"JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
					javax.swing.border.TitledBorder.BOTTOM, new java.awt.Font("Dialog", java.awt.Font.BOLD, 12),
					java.awt.Color.red), dialogPane.getBorder())); dialogPane.addPropertyChangeListener(new java.beans.PropertyChangeListener(){public void propertyChange(java.beans.PropertyChangeEvent e){if("border".equals(e.getPropertyName()))throw new RuntimeException();}});

			dialogPane.setLayout(new BorderLayout());

			//======== contentPanel ========
			{
				contentPanel.setLayout(new GridBagLayout());
				((GridBagLayout)contentPanel.getLayout()).columnWidths = new int[] {0, 0, 0};
				((GridBagLayout)contentPanel.getLayout()).rowHeights = new int[] {0, 0, 0, 0};
				((GridBagLayout)contentPanel.getLayout()).columnWeights = new double[] {0.0, 0.0, 1.0E-4};
				((GridBagLayout)contentPanel.getLayout()).rowWeights = new double[] {0.0, 0.0, 0.0, 1.0E-4};

				//======== panel1 ========
				{
					panel1.setBorder(new BevelBorder(BevelBorder.RAISED));
					panel1.setLayout(new GridBagLayout());
					((GridBagLayout)panel1.getLayout()).columnWidths = new int[] {0, 400, 0};
					((GridBagLayout)panel1.getLayout()).rowHeights = new int[] {400, 0};
					((GridBagLayout)panel1.getLayout()).columnWeights = new double[] {0.0, 1.0, 1.0E-4};
					((GridBagLayout)panel1.getLayout()).rowWeights = new double[] {1.0, 1.0E-4};

					//======== panel2 ========
					{
						panel2.setLayout(new GridBagLayout());
						((GridBagLayout)panel2.getLayout()).columnWidths = new int[] {0, 0};
						((GridBagLayout)panel2.getLayout()).rowHeights = new int[] {0, 0, 0, 0, 0, 0};
						((GridBagLayout)panel2.getLayout()).columnWeights = new double[] {0.0, 1.0E-4};
						((GridBagLayout)panel2.getLayout()).rowWeights = new double[] {1.0, 0.0, 0.0, 0.0, 1.0, 1.0E-4};

						//======== panel4 ========
						{
							panel4.setBorder(new EtchedBorder(EtchedBorder.RAISED));
							panel4.setLayout(new GridBagLayout());
							((GridBagLayout)panel4.getLayout()).columnWidths = new int[] {8, 0, 55, 3, 0};
							((GridBagLayout)panel4.getLayout()).rowHeights = new int[] {8, 0, 3, 0};
							((GridBagLayout)panel4.getLayout()).columnWeights = new double[] {0.0, 0.0, 1.0, 0.0, 1.0E-4};
							((GridBagLayout)panel4.getLayout()).rowWeights = new double[] {0.0, 0.0, 0.0, 1.0E-4};

							//---- label4 ----
							label4.setText("Name:");
							panel4.add(label4, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- textField1 ----
							textField1.setText("Spherical hole bottom");
							panel4.add(textField1, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));
						}
						panel2.add(panel4, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0,
							GridBagConstraints.CENTER, GridBagConstraints.BOTH,
							new Insets(0, 0, 5, 0), 0, 0));

						//======== panel3 ========
						{
							panel3.setBorder(new EtchedBorder(EtchedBorder.RAISED));
							panel3.setLayout(new GridBagLayout());
							((GridBagLayout)panel3.getLayout()).columnWidths = new int[] {8, 0, 55, 0, 55, 0, 55, 0, 0};
							((GridBagLayout)panel3.getLayout()).rowHeights = new int[] {8, 0, 0, 0, 0, 3, 0};
							((GridBagLayout)panel3.getLayout()).columnWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0E-4};
							((GridBagLayout)panel3.getLayout()).rowWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0E-4};

							//---- label1 ----
							label1.setText("Position(mm)  X = ");
							label1.setHorizontalAlignment(SwingConstants.RIGHT);
							panel3.add(label1, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- spinner1 ----
							spinner1.setModel(new SpinnerNumberModel(10.0, null, null, 5.0));
							panel3.add(spinner1, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- label2 ----
							label2.setText(" Y=");
							panel3.add(label2, new GridBagConstraints(3, 1, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- spinner2 ----
							spinner2.setModel(new SpinnerNumberModel(10.0, null, null, 5.0));
							panel3.add(spinner2, new GridBagConstraints(4, 1, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- label3 ----
							label3.setText(" Z = ");
							panel3.add(label3, new GridBagConstraints(5, 1, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- spinner3 ----
							spinner3.setModel(new SpinnerNumberModel(0.0, null, 0.0, 1.0));
							panel3.add(spinner3, new GridBagConstraints(6, 1, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- label5 ----
							label5.setText("Diameter (mm)");
							label5.setHorizontalAlignment(SwingConstants.RIGHT);
							panel3.add(label5, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- spinner4 ----
							spinner4.setModel(new SpinnerNumberModel(8.0, null, null, 1.0));
							panel3.add(spinner4, new GridBagConstraints(2, 2, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- label6 ----
							label6.setText("+/-");
							panel3.add(label6, new GridBagConstraints(3, 2, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- spinner5 ----
							spinner5.setModel(new SpinnerNumberModel(50.0, 0.0, 50.0, 1.0));
							panel3.add(spinner5, new GridBagConstraints(4, 2, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- label7 ----
							label7.setText("\u00b5m");
							panel3.add(label7, new GridBagConstraints(5, 2, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- label8 ----
							label8.setText("Depth (mm)");
							label8.setHorizontalAlignment(SwingConstants.RIGHT);
							panel3.add(label8, new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));

							//---- spinner6 ----
							spinner6.setModel(new SpinnerNumberModel(10.0, null, null, 1.0));
							panel3.add(spinner6, new GridBagConstraints(2, 3, 1, 1, 0.0, 0.0,
								GridBagConstraints.CENTER, GridBagConstraints.BOTH,
								new Insets(0, 0, 5, 5), 0, 0));
						}
						panel2.add(panel3, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0,
							GridBagConstraints.CENTER, GridBagConstraints.BOTH,
							new Insets(0, 0, 5, 0), 0, 0));
					}
					panel1.add(panel2, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
						GridBagConstraints.CENTER, GridBagConstraints.BOTH,
						new Insets(0, 0, 0, 5), 0, 0));

					//======== splitPane1 ========
					{
						splitPane1.setOrientation(JSplitPane.VERTICAL_SPLIT);
					}
					panel1.add(splitPane1, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
						GridBagConstraints.CENTER, GridBagConstraints.BOTH,
						new Insets(0, 0, 0, 0), 0, 0));
				}
				contentPanel.add(panel1, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
					GridBagConstraints.CENTER, GridBagConstraints.BOTH,
					new Insets(0, 0, 5, 5), 0, 0));
			}
			dialogPane.add(contentPanel, BorderLayout.CENTER);

			//======== buttonBar ========
			{
				buttonBar.setBorder(new EmptyBorder(12, 0, 0, 0));
				buttonBar.setLayout(new GridBagLayout());
				((GridBagLayout)buttonBar.getLayout()).columnWidths = new int[] {0, 85, 85, 80};
				((GridBagLayout)buttonBar.getLayout()).columnWeights = new double[] {1.0, 0.0, 0.0, 0.0};

				//---- button1 ----
				button1.setText("help");
				buttonBar.add(button1, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
					GridBagConstraints.CENTER, GridBagConstraints.BOTH,
					new Insets(0, 0, 0, 5), 0, 0));

				//---- okButton ----
				okButton.setText("Submit");
				buttonBar.add(okButton, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
					GridBagConstraints.CENTER, GridBagConstraints.BOTH,
					new Insets(0, 0, 0, 5), 0, 0));

				//---- cancelButton ----
				cancelButton.setText("Cancel");
				buttonBar.add(cancelButton, new GridBagConstraints(3, 0, 1, 1, 0.0, 0.0,
					GridBagConstraints.CENTER, GridBagConstraints.BOTH,
					new Insets(0, 0, 0, 0), 0, 0));
			}
			dialogPane.add(buttonBar, BorderLayout.SOUTH);
		}
		contentPane.add(dialogPane, BorderLayout.CENTER);
		pack();
		setLocationRelativeTo(getOwner());
		// JFormDesigner - End of component initialization  //GEN-END:initComponents
	}

	// JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
	// Generated using JFormDesigner Evaluation license - victor asdasd
	private JPanel dialogPane;
	private JPanel contentPanel;
	private JPanel panel1;
	private JPanel panel2;
	private JPanel panel4;
	private JLabel label4;
	public JTextField textField1;
	private JPanel panel3;
	private JLabel label1;
	public JSpinner spinner1;
	private JLabel label2;
	public JSpinner spinner2;
	private JLabel label3;
	public JSpinner spinner3;
	private JLabel label5;
	public JSpinner spinner4;
	private JLabel label6;
	public JSpinner spinner5;
	private JLabel label7;
	private JLabel label8;
	public JSpinner spinner6;
	public JSplitPane splitPane1;
	private JPanel buttonBar;
	public JButton button1;
	public JButton okButton;
	public JButton cancelButton;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
